/*
 * Copyright (c) 2019，2039, daojian.co and/or its affiliates. All rights reserved.
 *
 */

package co.bugu.code.analysis.infra.entity;

import co.bugu.framework.db.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 实体类，和数据库一一对应
 *
 *
 *
 * @author coder helper
 * @version 1.0.0
 * @createdAt 2022-11-21 11:05
 * @updatedAt 2022-11-21 11:05
 */
@ApiModel("用户信息")
@Data
@Entity
public class User {
	@ApiModelProperty("主键")
	private Long id;
	@ApiModelProperty("头像地址")
	private String avatarUrl;
	@ApiModelProperty("创建时间")
	private Date createdAt;
	@ApiModelProperty("邮箱")
	private String email;
	@ApiModelProperty("用户ID")
	private Long userId;
	@ApiModelProperty("用户名")
	private String name;
	@ApiModelProperty("状态")
	private String state;
	@ApiModelProperty("用户名")
	private String username;
	@ApiModelProperty("网页地址")
	private String webUrl;
	@ApiModelProperty("是否删除，0未删除，1已删除")
	private Integer isDel;
	@ApiModelProperty("创建人姓名（ID）")
	private String createUser;
	@ApiModelProperty("更新人姓名（ID）")
	private String updateUser;
	@ApiModelProperty("创建时间")
	private Date createTime;
	@ApiModelProperty("更新时间")
	private Date updateTime;

	private Date lastActivityOn;

}
